<script type="text/javascript">
    $(document).ready(function(){
        $("#btnRegister").button();
        $("#btnCancel").button();
    })

</script>
<?php
use_stylesheet('data/main.css');
?>
<?php if($sf_user->hasFlash('message')): ?>
    <div>
        <?php echo $sf_user->getFlash('message'); ?>
    </div>
<?php endif; ?>

    <form action="<?php echo url_for('/login/confirmPasswordReset'); ?>" method="post">
        <table class="ui-widget form-wizard">
            <tr  class="ui-widget-header">
                <td colspan="4">Reset Password</td>
            </tr>
            <tr>
                <td align="center" width="30%"><span>New Password</span></td>
                <td width="50%"><input type="password" id="txtNewPassword" name="txtNewPassword"/></td>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <td align="center" width="30%"><span>Confirm Password</span></td>
                <td width="50%"><input type="password" id="txtConfirmPassword" name="txtConfirmPassword"/></td>
                <td colspan="2">&nbsp;</td>
            </tr>
            <tr>
                <th></th>
                <td colspan="3"></td>
            </tr>
            <tr>
                <th></th>
                <td colspan="3"></td>
            </tr>
            <tr>
                <th></th>
                <td colspan="3"></td>
            </tr>
            <tr>
                <th colspan="4"><input type="hidden" value="<?php echo $token; ?>" id="hftk" name="hftk"/></th>
            </tr>

            <?php //echo $form; ?>
            <tr>
                <td colspan="1">
                    <button id="btnRegister" class="button" type="submit">Save</button>
                    <button id="btnCancel" class="button" type="reset" onclick="window.location='http://localhost/main'">Cancel</button>
                    <!--<input type="submit" value="Register" id="btnRegister" class="button"/>
                    <input type="reset" value="Cancel" onclick="window.location='http://localhost/main'"/>-->
                </td>
            </tr>
        </table>
    </form>
